//
//  FCGKit.h
//  CPETEcgModule
//
//  Created by moon_zm on 2024/5/15.
//

#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN

@interface FCGKit : NSObject
/// Is initialization successful?
///
/// returns:
///
/// true or false
- (BOOL)isOK;
/// Set patient’s information
/// \param ageY patient’s age in years
///
/// \param gender Patient sex: ‘M’ or ‘F’
///
/// \param cmHeight Patient Height in cm
///
/// \param kgWeight Patient Weight in kg
///
- (void)SetPatientInfoWithAgeY:(int32_t)ageY gender:(int8_t)gender cmHeight:(float)cmHeight kgWeight:(float)kgWeight;
- (void)SetRiskFactorsWithMVP:(BOOL)MVP Migraine:(BOOL)Migraine CADsymp:(int32_t)CADsymp DiabetesMellitus:(int32_t)DiabetesMellitus HighCholesterol:(BOOL)HighCholesterol HighBP:(BOOL)HighBP Smooking:(BOOL)Smooking HeartCondition:(int32_t)HeartCondition SigStress:(BOOL)SigStress;
- (BOOL)SetData12WithData:(NSArray<NSArray<NSNumber *> *> * _Nonnull)data SampleRate:(int16_t)SampleRate uVpb:(double)uVpb msRR:(int16_t)msRR;
- (float)Getdf;
- (NSArray<NSNumber *> * _Nonnull)GetPsdWithLead:(int16_t)lead;
- (NSArray<NSNumber *> * _Nonnull)GetPhase;
- (NSArray<NSNumber *> * _Nonnull)GetPulseResponse;
- (NSArray<NSNumber *> * _Nonnull)GetR51Score;
- (int32_t)GetCadNo;
- (int32_t)GetIschemiaSeverity;
- (int32_t)GetCADPresence;
- (int32_t)GetCALVO;
- (NSArray<NSNumber *> * _Nonnull)IndexPsdWithLead:(int16_t)lead;
- (NSArray<NSNumber *> * _Nonnull)IndexPhase;
- (NSArray<NSNumber *> * _Nonnull)IndexImpulseResponse;
- (UIImage *)getCadImg:(int32_t)cadNo;

@end

NS_ASSUME_NONNULL_END
